<template>
	<view>
		<header-box></header-box>
		<view class="content">
			<form @submit="submitForm">
				<view class="card">
					<view class="top flex">
						<image src="/static/with-1.png" mode="widthFix"></image>
						请输入提现地址
					</view>
					<textarea name="url" placeholder="请输入提现地址" />
					</view>
				<button class="btn flex-center">确定提现</button>
			</form>
			<view class="list-box">
				<view class="title flex">
					<image src="/static/with-2.png" mode="widthFix"></image>
					提现记录
				</view>
				<block v-for="(item,index) in 5" :key="index">
					<view class="card">
							<view class="top flex-between">
								<text>提现</text>
								<text>12345678</text>
							</view>
							<view class="list flex-between">
								<view class="flex">
									<image src="/static/with-3.png" mode="widthFix"></image>
									申请时间
								</view>
								<text>2020-10-01 08:12:18</text>
							</view>
							<view class="list flex-between">
								<view class="flex">
									<image src="/static/with-4.png" mode="widthFix"></image>
									申请状态
								</view>
								<text>已提现</text>
							</view>
						</view>
					
				</block>
			</view>
		</view>
		<footer-box tabIndex="2"></footer-box>
	</view>
</template>

<script>
	import HeaderBox from '@/components/headerBox.vue'
	import FooterBox from '@/components/footerBox.vue'
	export default {
		components:{
			HeaderBox,FooterBox
		},
		data() {
			return {
				url:"https://www.baidu.com/baidu?tn=monline_3_dg&ie=utf-8&wd=%E8%8A%B1%E7%93%A3"	
			};
		}
	}
</script>

<style lang="less" scoped>
	form{
		.card{
			height: 220rpx;
			background-image: linear-gradient(0deg, 
				#555c6c 0%, 
				#353b49 100%);
			border-radius: 12rpx;
			margin:30rpx 0 90rpx;
			padding: 0 30rpx;
			.top{
				height: 80rpx;
				border-bottom: 2rpx solid rgba(255,255,255,0.2);
				font-size: 30rpx;
				color: #3df1be;
				image{
					width: 28rpx;
					height: 25rpx;
					margin-right: 10rpx;
				}
			}
			textarea{
				width: 100%;
				height: 130rpx;
				font-size: 24rpx;
				line-height: 36rpx;
				color:white;
				padding: 20rpx 0;
				box-sizing: border-box;
			}
		}
		.btn{
			width: 614rpx;
			height: 94rpx;
			background: url('/static/login-btn.png') no-repeat 0 0;
			background-size: 100% 100%;
			font-size: 34rpx;
			color: #ffffff;
		}
	}
	.list-box{
		margin-top: 50rpx;
		.title{
			height: 80rpx;
			font-size: 30rpx;
			color: #3df1be;
			image{
				width: 28rpx;
				height: 25rpx;
				margin-right: 10rpx;
			}
		}
		.card{
			background-color: #262d3c;
			border-radius: 20rpx;
			padding: 0 30rpx 20rpx;
			margin-bottom: 30px;
			.top{
				height: 80rpx;
				font-size: 30rpx;
				color: #ffffff;
			}
			.list{
				line-height: 2;
				font-size: 26rpx;
				color: #898ea3;
				image{
					width: 24rpx;
					height: 24rpx;
					margin-right: 10rpx;
				}
			}
		}
	}
</style>
